package com.atmilan.quartz.model.entity.pure;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuzp
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pure_product_sku")
@ApiModel(value="PureProductSku对象", description="")
public class PureProductSku extends Model<PureProductSku> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    private String skuId;

    private String ean13;

    private String supplierReference;

    private String idColor;

    private String idSizeType;

    private String idSize;

    private String color;

    private String sizeType;

    private String size;

    private String price;

    private String priceExVat;

    @ApiModelProperty(value = "库存")
    private String quantity;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
